# import numpy as np
# a1 = np.array([1,2,3])
# print('一维数组a1:\n',a1)
# a2 = np.array((4.5,5.6,6.8),dtype='int32')
# print('一维数组a2:\n',a2)
# a3 = np.array([[1,2,3],[4,5,6]],dtype='float32')
# print('2*3的二维数组a3:\n',a3)

#练习
import numpy as np
a11 = np.array([1.1,2.2,3.3])
print('一维数组a11:\n',a11)
a111 = np.array((-1,-2,-3),dtype='int32')
print('一维数组a111:\n',a111)
a1111 = np.array([3,-2,2.3],dtype='float32')
print('一维数组a1111:\n',a1111)